package com.hou.netty.serial;

import java.io.Serializable;

//客户端发送给服务端的订单对象,一定要实现序列化
public class Order implements Serializable {
    private static final long SerialVersionUID = 1L;
    private String name;
    private Double price;
    private byte[] picture;//附件

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public byte[] getPicture() {
        return picture;
    }

    public void setPicture(byte[] picture) {
        this.picture = picture;
    }
}
